Link
Search
Menu
Expand
Document
⭐️ 1.8k
🌞
🌚
⭐️ on GitHub!
MadelineProto
Creating a client
Login
Features
Requirements
MadelineProto on Docker
Metrics
Installation
Broadcasting messages to all users
Handling updates (new messages & other events)
Filters
Plugins
Database
Settings
Getting info about the current user
Exceptions
Avoiding FLOOD_WAITs
Logging
Telegram VoIP phone calls
Uploading and downloading files
Getting info about chats
Getting all chats (dialogs)
Inline buttons
Secret chats
Using a proxy
Async
FAQ
Upgrading from MadelineProto v7 to v8
Using methods
Contributing
Web templates for `$MadelineProto->start()`
MadelineProto API
danog\DialogId\DialogId: Represents the type of a bot API dialog ID.
danog\MadelineProto\API: Main API wrapper for MadelineProto.
danog\MadelineProto\AsyncTools: Async tools.
danog\MadelineProto\BotApiFileId: Indicates a bot API file ID to upload using sendDocument, sendPhoto etc...
danog\MadelineProto\Broadcast\Action: Interface that represents a broadcast action.
danog\MadelineProto\Broadcast\Filter: Broadcast filter.
danog\MadelineProto\Broadcast\Progress: Broadcast progress.
danog\MadelineProto\Broadcast\Status: Broadcast status.
danog\MadelineProto\Conversion:
danog\MadelineProto\EventHandler: Event handler.
danog\MadelineProto\EventHandlerIssue: Represents an event handler issue.
danog\MadelineProto\EventHandler\AbstractMessage: Represents an incoming or outgoing message.
danog\MadelineProto\EventHandler\AbstractPoll: Poll
danog\MadelineProto\EventHandler\AbstractPrivateMessage: Represents a private or secret chat message.
danog\MadelineProto\EventHandler\AbstractStory: Represents a Telegram Story.
danog\MadelineProto\EventHandler\Action: In-progress actions.
danog\MadelineProto\EventHandler\Action\Cancel: Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload.
danog\MadelineProto\EventHandler\Action\ChooseContact: User is selecting a contact to share.
danog\MadelineProto\EventHandler\Action\ChooseSticker: User is choosing a sticker.
danog\MadelineProto\EventHandler\Action\EmojiSeen: User is watching an animated emoji reaction triggered by another user, [click here for more info »](https://core.telegram.org/api/animated-emojis#emoji-reactions).
danog\MadelineProto\EventHandler\Action\EmojiTap: User has clicked on an animated emoji triggering a [reaction, click here for more info »](https://core.telegram.org/api/animated-emojis#emoji-reactions).
danog\MadelineProto\EventHandler\Action\GamePlay: User is playing a game.
danog\MadelineProto\EventHandler\Action\GeoLocation: User is selecting a location to share.
danog\MadelineProto\EventHandler\Action\GroupCallSpeaking: User is currently speaking in the group call.
danog\MadelineProto\EventHandler\Action\HistoryImport: Chat history is being imported.
danog\MadelineProto\EventHandler\Action\RecordAudio: User is recording a voice message.
danog\MadelineProto\EventHandler\Action\RecordRound: User is recording a round video to share.
danog\MadelineProto\EventHandler\Action\RecordVideo: User is recording a video.
danog\MadelineProto\EventHandler\Action\Typing: User is typing.
danog\MadelineProto\EventHandler\Action\UploadAudio: User is uploading a voice message.
danog\MadelineProto\EventHandler\Action\UploadDocument: User is uploading a file.
danog\MadelineProto\EventHandler\Action\UploadPhoto: User is uploading a photo.
danog\MadelineProto\EventHandler\Action\UploadRound: User is uploading a round video.
danog\MadelineProto\EventHandler\Action\UploadVideo: User is uploading a video.
danog\MadelineProto\EventHandler\Attributes\Cron: Attribute that enables periodic execution of a certain method.
danog\MadelineProto\EventHandler\Attributes\Handler: Attribute that marks a handler method.
danog\MadelineProto\EventHandler\BotApp: Represents information about a [named bot web app](https://core.telegram.org/api/bots/webapps#named-bot-web-apps).
danog\MadelineProto\EventHandler\BotCommands: The [command set](https://core.telegram.org/api/bots/commands) of a certain bot in a certain chat has changed.
danog\MadelineProto\EventHandler\CallbackQuery: Represents a query sent by the user by clicking on a button.
danog\MadelineProto\EventHandler\Channel\ChannelParticipant: A participant has left, joined, was banned or admin'd in a [channel or supergroup](https://core.telegram.org/api/channel).
danog\MadelineProto\EventHandler\Channel\MessageForwards: Indicates that the forward counter of a message in a channel has changed.
danog\MadelineProto\EventHandler\Channel\MessageViewsChanged: Indicates that the view counter of a message in a channel has changed.
danog\MadelineProto\EventHandler\Channel\UpdateChannel: A new channel is available, or info about an existing channel was changed.
danog\MadelineProto\EventHandler\ChatInvite: Chat invite link that was used by the user to send the [join request »](https://core.telegram.org/api/invites#join-requests).
danog\MadelineProto\EventHandler\ChatInviteRequester: Indicates someone has requested to join a chat or channel.
danog\MadelineProto\EventHandler\ChatInviteRequester\BotChatInviteRequest: Indicates someone has requested to join a chat or channel (bots only).
danog\MadelineProto\EventHandler\ChatInviteRequester\PendingJoinRequests: Someone has requested to join a chat or channel.
danog\MadelineProto\EventHandler\ChatInvite\ChatInviteExported: Represents an exported chat invite.
danog\MadelineProto\EventHandler\ChatInvite\ChatInvitePublicJoin: Used in updates and in the channel log to indicate when a user is requesting to join or has joined a [discussion group](https://core.telegram.org/api/discussion#requiring-users-to-join-the-group).
danog\MadelineProto\EventHandler\Command: Represents a bot command that can be used in a chat.
danog\MadelineProto\EventHandler\CommandType:
danog\MadelineProto\EventHandler\Delete: Indicates that some messages were deleted.
danog\MadelineProto\EventHandler\Delete\DeleteChannelMessages: Some messages in a [supergroup/channel](https://core.telegram.org/api/channel) were deleted.
danog\MadelineProto\EventHandler\Delete\DeleteMessages: Some messages were deleted in a private chat or simple group.
danog\MadelineProto\EventHandler\Delete\DeleteScheduledMessages: Some [scheduled messages](https://core.telegram.org/api/scheduled-messages) were deleted from the schedule queue of a chat.
danog\MadelineProto\EventHandler\Filter\Combinator\FilterNot: NOTs a filter.
danog\MadelineProto\EventHandler\Filter\Combinator\FiltersAnd: ANDs multiple filters.
danog\MadelineProto\EventHandler\Filter\Combinator\FiltersOr: ORs multiple filters.
danog\MadelineProto\EventHandler\Filter\Filter:
danog\MadelineProto\EventHandler\Filter\FilterAllowAll: Allow all updates.
danog\MadelineProto\EventHandler\Filter\FilterBotCommand: Allow only messages containing the specified command, optionally postfixed with the bot's username.
danog\MadelineProto\EventHandler\Filter\FilterButtonQueryData: Filters based on the content of a button query.
danog\MadelineProto\EventHandler\Filter\FilterChannel: Allow only updates coming from channels.
danog\MadelineProto\EventHandler\Filter\FilterCommand: Allow only messages containing the specified command.
danog\MadelineProto\EventHandler\Filter\FilterCommandCaseInsensitive: Allow only messages containing the specified case-insensitive command.
danog\MadelineProto\EventHandler\Filter\FilterCommentReply: Allow messages that coming from @replies.
danog\MadelineProto\EventHandler\Filter\FilterEdited: Allows messages that were edited.
danog\MadelineProto\EventHandler\Filter\FilterEnded: Allow only ended calls.
danog\MadelineProto\EventHandler\Filter\FilterForwarded: Allow only forwarded messages.
danog\MadelineProto\EventHandler\Filter\FilterForwardedFrom: Allow only forwarded messages from a certain sender.
danog\MadelineProto\EventHandler\Filter\FilterFromAdmin: Allow only messages coming from the admin (defined as the peers returned by getReportPeers).
danog\MadelineProto\EventHandler\Filter\FilterFromBot: Allow only messages coming from bots.
danog\MadelineProto\EventHandler\Filter\FilterFromSender: Allow incoming or outgoing group messages made by a certain sender.
danog\MadelineProto\EventHandler\Filter\FilterFromSenders: Allow incoming or outgoing group messages made by a certain list of senders.
danog\MadelineProto\EventHandler\Filter\FilterGroup: Allow only updates coming from groups.
danog\MadelineProto\EventHandler\Filter\FilterIncoming: Allow only incoming messages.
danog\MadelineProto\EventHandler\Filter\FilterMedia: Allow any media messages.
danog\MadelineProto\EventHandler\Filter\FilterMessage: Allow any non-service message.
danog\MadelineProto\EventHandler\Filter\FilterNoMedia: Allow any messages except media messages.
danog\MadelineProto\EventHandler\Filter\FilterNotEdited: Allows messages that weren't edited.
danog\MadelineProto\EventHandler\Filter\FilterOutgoing: Allow only outgoing messages.
danog\MadelineProto\EventHandler\Filter\FilterPeer: Allow messages coming from or sent to a certain peer.
danog\MadelineProto\EventHandler\Filter\FilterPoll: Allow only messages that contain a poll.
danog\MadelineProto\EventHandler\Filter\FilterPrivate: Allow only updates coming from private chats.
danog\MadelineProto\EventHandler\Filter\FilterRegex: Allow only messages or button queries matching the specified regex.
danog\MadelineProto\EventHandler\Filter\FilterRegexMatchAll: Allow only messages or button queries matching the specified regex.
danog\MadelineProto\EventHandler\Filter\FilterReply: Allow messages that reply to other messages.
danog\MadelineProto\EventHandler\Filter\FilterReplyToSelf: Allow messages that reply to one of our messages.
danog\MadelineProto\EventHandler\Filter\FilterRunning: Allow only running calls.
danog\MadelineProto\EventHandler\Filter\FilterSecret: Allow only updates coming from secret chats.
danog\MadelineProto\EventHandler\Filter\FilterSender: Allow incoming or outgoing group messages made by a certain sender.
danog\MadelineProto\EventHandler\Filter\FilterSenders: Allow incoming or outgoing group messages made by a certain list of senders.
danog\MadelineProto\EventHandler\Filter\FilterService: Allow only service messages of any type.
danog\MadelineProto\EventHandler\Filter\FilterText: Allow only messages with a specific content.
danog\MadelineProto\EventHandler\Filter\FilterTextCaseInsensitive: Allow only messages with a specific case-insensitive content.
danog\MadelineProto\EventHandler\Filter\FilterTextContains: Allow only messages that contain a specific content.
danog\MadelineProto\EventHandler\Filter\FilterTextContainsCaseInsensitive: Allow only messages that contain a specific case-insensitive content.
danog\MadelineProto\EventHandler\Filter\FilterTextEnds: Allow only messages that ends with a specific content.
danog\MadelineProto\EventHandler\Filter\FilterTextEndsCaseInsensitive: Allow only messages that ends with a specific case-insensitive content.
danog\MadelineProto\EventHandler\Filter\FilterTextStarts: Allow only messages that start with a specific content.
danog\MadelineProto\EventHandler\Filter\FilterTextStartsCaseInsensitive: Allow only messages that start with a specific case-insensitive content.
danog\MadelineProto\EventHandler\Filter\FilterTopic: Allow only messages coming from groups that has topics (Supergroups only).
danog\MadelineProto\EventHandler\Filter\FilterTopicId: Allow only messages with a specific topic id (Supergroups only).
danog\MadelineProto\EventHandler\Filter\Media\FilterAudio: Allow only audio files.
danog\MadelineProto\EventHandler\Filter\Media\FilterDocument: Allow only documents.
danog\MadelineProto\EventHandler\Filter\Media\FilterDocumentPhoto: Allow only documents containing an image.
danog\MadelineProto\EventHandler\Filter\Media\FilterGif: Allow only GIFs.
danog\MadelineProto\EventHandler\Filter\Media\FilterPhoto: Allow only photos.
danog\MadelineProto\EventHandler\Filter\Media\FilterRoundVideo: Allow only round videos.
danog\MadelineProto\EventHandler\Filter\Media\FilterSticker: Allow only stickers.
danog\MadelineProto\EventHandler\Filter\Media\FilterVideo: Allow only videos.
danog\MadelineProto\EventHandler\Filter\Media\FilterVoice: Allow only voice messages.
danog\MadelineProto\EventHandler\Filter\Poll\FilterMultiplePoll: Allow only messages that contain a multiple poll.
danog\MadelineProto\EventHandler\Filter\Poll\FilterQuizPoll: Allow only messages that contain a quiz poll.
danog\MadelineProto\EventHandler\Filter\Poll\FilterSinglePoll: Allow only messages that contain a single poll.
danog\MadelineProto\EventHandler\ForwardedInfo: Info about a forwarded message.
danog\MadelineProto\EventHandler\InlineQuery: An incoming inline query.
danog\MadelineProto\EventHandler\Keyboard: Represents an inline or reply keyboard.
danog\MadelineProto\EventHandler\Keyboard\InlineKeyboard: Represents an inline keyboard.
danog\MadelineProto\EventHandler\Keyboard\ReplyKeyboard: Represents a reply keyboard.
danog\MadelineProto\EventHandler\Media: Represents a generic media.
danog\MadelineProto\EventHandler\Media\AbstractAudio: Represents a generic audio file.
danog\MadelineProto\EventHandler\Media\AbstractSticker: Represents a generic sticker.
danog\MadelineProto\EventHandler\Media\AbstractVideo: Represents a generic video.
danog\MadelineProto\EventHandler\Media\AnimatedSticker: Represents an animated sticker.
danog\MadelineProto\EventHandler\Media\Audio: Represents an audio file.
danog\MadelineProto\EventHandler\Media\CustomEmoji: Represents a custom emoji sticker.
danog\MadelineProto\EventHandler\Media\Document: Represents a document.
danog\MadelineProto\EventHandler\Media\DocumentPhoto: Represents a photo uploaded as a document.
danog\MadelineProto\EventHandler\Media\GeoPoint:
danog\MadelineProto\EventHandler\Media\Gif: Represents a GIF (or an MPEG4 file without sound).
danog\MadelineProto\EventHandler\Media\MaskPosition: Position of the mask
danog\MadelineProto\EventHandler\Media\MaskSticker: Represents a mask sticker.
danog\MadelineProto\EventHandler\Media\MediaStory: Represents a forwarded story.
danog\MadelineProto\EventHandler\Media\Photo: Represents a photo.
danog\MadelineProto\EventHandler\Media\RoundVideo: Represents a round video.
danog\MadelineProto\EventHandler\Media\StaticSticker: Represents a static sticker.
danog\MadelineProto\EventHandler\Media\Sticker: Represents a sticker.
danog\MadelineProto\EventHandler\Media\Video: Represents a video.
danog\MadelineProto\EventHandler\Media\VideoSticker: Represents a video sticker.
danog\MadelineProto\EventHandler\Media\Voice: Represents a voice message.
danog\MadelineProto\EventHandler\Message: Represents an incoming or outgoing message.
danog\MadelineProto\EventHandler\Message\ChannelMessage: Represents an incoming or outgoing channel message.
danog\MadelineProto\EventHandler\Message\CommentReply: Represents a reply to one of our messages in a channel comment group that we're not a member of (i.e. received via `@replies`).
danog\MadelineProto\EventHandler\Message\Entities\BankCard: Indicates a credit card number.
danog\MadelineProto\EventHandler\Message\Entities\Blockquote: Message entity representing a block quote.
danog\MadelineProto\EventHandler\Message\Entities\Bold: Message entity representing bold text.
danog\MadelineProto\EventHandler\Message\Entities\BotCommand: Message entity representing a bot /command.
danog\MadelineProto\EventHandler\Message\Entities\Cashtag: Message entity representing a $cashtag.
danog\MadelineProto\EventHandler\Message\Entities\Code: Message entity representing a codeblock.
danog\MadelineProto\EventHandler\Message\Entities\CustomEmoji: Represents a custom emoji.
danog\MadelineProto\EventHandler\Message\Entities\Email: Message entity representing an email@example.com.
danog\MadelineProto\EventHandler\Message\Entities\Hashtag: #hashtag message entity.
danog\MadelineProto\EventHandler\Message\Entities\InputMentionName: Message entity representing a [user mention](https://core.telegram.org/api/mentions) created by the user, not returned by the API.
danog\MadelineProto\EventHandler\Message\Entities\Italic: Message entity representing italic text.
danog\MadelineProto\EventHandler\Message\Entities\Mention: Message entity mentioning the current user.
danog\MadelineProto\EventHandler\Message\Entities\MentionName: Message entity representing a [user mention](https://core.telegram.org/api/mentions).
danog\MadelineProto\EventHandler\Message\Entities\MessageEntity: Master class for message entities.
danog\MadelineProto\EventHandler\Message\Entities\Phone: Message entity representing a phone number.
danog\MadelineProto\EventHandler\Message\Entities\Pre: Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
danog\MadelineProto\EventHandler\Message\Entities\Spoiler: Message entity representing a spoiler.
danog\MadelineProto\EventHandler\Message\Entities\Strike: Message entity representing strikethrough text.
danog\MadelineProto\EventHandler\Message\Entities\TextUrl: Message entity representing a text url: for in-text urls like https://google.com use Url.
danog\MadelineProto\EventHandler\Message\Entities\TextWithEntities:
danog\MadelineProto\EventHandler\Message\Entities\Underline: Message entity representing underlined text.
danog\MadelineProto\EventHandler\Message\Entities\Url: Message entity representing an in-text url: https://google.com; for text urls, use TextUrl.
danog\MadelineProto\EventHandler\Message\GroupMessage: Represents an incoming or outgoing group message.
danog\MadelineProto\EventHandler\Message\PrivateMessage: Represents an incoming or outgoing private message.
danog\MadelineProto\EventHandler\Message\ReportReason:
danog\MadelineProto\EventHandler\Message\SecretMessage: Represents New encrypted message.
danog\MadelineProto\EventHandler\Message\ServiceMessage: Represents info about a service message.
danog\MadelineProto\EventHandler\Message\Service\DialogBotAllowed: We have given the bot permission to send us direct messages.
danog\MadelineProto\EventHandler\Message\Service\DialogChannelCreated: The channel was created.
danog\MadelineProto\EventHandler\Message\Service\DialogChannelMigrateFrom: Indicates the channel was [migrated](https://core.telegram.org/api/channel) from the specified chat.
danog\MadelineProto\EventHandler\Message\Service\DialogChatJoinedByLink: A user joined the chat via an invite link.
danog\MadelineProto\EventHandler\Message\Service\DialogChatMigrateTo: Indicates the chat was [migrated](https://core.telegram.org/api/channel) to the specified supergroup.
danog\MadelineProto\EventHandler\Message\Service\DialogContactSignUp: A contact just signed up to telegram.
danog\MadelineProto\EventHandler\Message\Service\DialogCreated: A chat or channel was created.
danog\MadelineProto\EventHandler\Message\Service\DialogDeleteMessages: Deleted messages.
danog\MadelineProto\EventHandler\Message\Service\DialogGameScore: Someone scored in a game.
danog\MadelineProto\EventHandler\Message\Service\DialogGeoProximityReached: A user of the chat is now in proximity of another user.
danog\MadelineProto\EventHandler\Message\Service\DialogGiftPremium: Info about a gifted Telegram Premium subscription.
danog\MadelineProto\EventHandler\Message\Service\DialogGiftStars: Info about a gifted Telegram Stars.
danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall: Represents a service message about a group call.
danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCall: The group call has started or ended.
danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCallInvited: A set of users was invited to the group call.
danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCallScheduled: A group call was scheduled.
danog\MadelineProto\EventHandler\Message\Service\DialogHistoryCleared: Chat history was cleared.
danog\MadelineProto\EventHandler\Message\Service\DialogMemberJoinedByRequest: A user was accepted into the group by an admin.
danog\MadelineProto\EventHandler\Message\Service\DialogMemberLeft: A member left the chat or channel.
danog\MadelineProto\EventHandler\Message\Service\DialogMembersJoined: Some members joined the chat or channel.
danog\MadelineProto\EventHandler\Message\Service\DialogMessagePinned: A message was pinned in a chat.
danog\MadelineProto\EventHandler\Message\Service\DialogPeerRequested: Contains info about a peer that the user shared with the bot after clicking on a [keyboardButtonRequestPeer](https://docs.madelineproto.xyz/API_docs/constructors/keyboardButtonRequestPeer.html) button.
danog\MadelineProto\EventHandler\Message\Service\DialogPhoneCall: A phone call.
danog\MadelineProto\EventHandler\Message\Service\DialogPhotoChanged: The photo of the dialog was changed or deleted.
danog\MadelineProto\EventHandler\Message\Service\DialogReadMessages: Messages marked as read.
danog\MadelineProto\EventHandler\Message\Service\DialogScreenshotTaken: A screenshot of the chat was taken.
danog\MadelineProto\EventHandler\Message\Service\DialogSetChatTheme: The chat theme was changed.
danog\MadelineProto\EventHandler\Message\Service\DialogSetChatWallPaper: The [wallpaper](https://core.telegram.org/api/wallpapers) of the current chat was changed.
danog\MadelineProto\EventHandler\Message\Service\DialogSetTTL: The Time-To-Live of messages in this chat was changed.
danog\MadelineProto\EventHandler\Message\Service\DialogStarGift: Info about a Star gifted.
danog\MadelineProto\EventHandler\Message\Service\DialogSuggestProfilePhoto: A new profile picture was suggested using [photos.uploadContactProfilePhoto](https://docs.madelineproto.xyz/API_docs/methods/photos.uploadContactProfilePhoto.html).
danog\MadelineProto\EventHandler\Message\Service\DialogTitleChanged: The title of a channel or group has changed.
danog\MadelineProto\EventHandler\Message\Service\DialogTopicCreated: A [forum topic](https://core.telegram.org/api/forum#forum-topics) was created.
danog\MadelineProto\EventHandler\Message\Service\DialogTopicEdited: [Forum topic](https://core.telegram.org/api/forum#forum-topics) information was edited.
danog\MadelineProto\EventHandler\Message\Service\DialogWebView: Data from an opened [reply keyboard bot web app](https://core.telegram.org/api/bots/webapps) was relayed to the bot that owns it (user & bot side service message).
danog\MadelineProto\EventHandler\Participant: Info about a channel participant.
danog\MadelineProto\EventHandler\Participant\Admin: Admin.
danog\MadelineProto\EventHandler\Participant\Banned: Banned/kicked user.
danog\MadelineProto\EventHandler\Participant\Creator: Channel/supergroup creator.
danog\MadelineProto\EventHandler\Participant\Left: A participant that left the channel/supergroup.
danog\MadelineProto\EventHandler\Participant\Member: Channel/supergroup participant.
danog\MadelineProto\EventHandler\Participant\MySelf: Myself.
danog\MadelineProto\EventHandler\Participant\Rights:
danog\MadelineProto\EventHandler\Participant\Rights\Admin: Represents the rights of an admin in a [channel/supergroup](https://core.telegram.org/api/channel).
danog\MadelineProto\EventHandler\Participant\Rights\Banned: Represents the rights of a normal user in a [supergroup/channel/chat](https://core.telegram.org/api/channel). In this case, the flags are inverted: if set, a flag does not allow a user to do X.
danog\MadelineProto\EventHandler\Payments\Payment: This object contains information about an incoming pre-checkout query.
danog\MadelineProto\EventHandler\Payments\PaymentRequestedInfo:
danog\MadelineProto\EventHandler\Payments\StarGift:
danog\MadelineProto\EventHandler\Pinned: Indicates that some messages were pinned/unpinned.
danog\MadelineProto\EventHandler\Pinned\PinnedChannelMessages: Represents messages that were pinned/unpinned in a [channel](https://core.telegram.org/api/channel).
danog\MadelineProto\EventHandler\Pinned\PinnedGroupMessages: Represents messages that were pinned/unpinned in a [chat/supergroup](https://core.telegram.org/api/channel).
danog\MadelineProto\EventHandler\Pinned\PinnedPrivateMessages: Some messages were pinned in a private chat.
danog\MadelineProto\EventHandler\Plugin\RestartPlugin: Plugin that offers a /restart command to admins that can be used to restart the bot, applying changes.
danog\MadelineProto\EventHandler\Poll\MultiplePoll: Represents a poll with multiple options can be chosen as answer
danog\MadelineProto\EventHandler\Poll\PollAnswer: Represents a possible answer of a poll
danog\MadelineProto\EventHandler\Poll\QuizPoll: Represents a quiz (with wrong and correct answers, results shown in the return type) poll
danog\MadelineProto\EventHandler\Poll\SinglePoll: Represents a poll with a option can be chosen as answer
danog\MadelineProto\EventHandler\Privacy: Indicates some privacy rules for a user or set of users.
danog\MadelineProto\EventHandler\Privacy\Rule: Represents a privacy rule.
danog\MadelineProto\EventHandler\Privacy\RuleDestination: To whom does a privacy rule apply?
danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowAll: Allow all users.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowChatParticipants: Allow all participants of certain chats.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowCloseFriends:
danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowContacts: Allow all contacts.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowUsers: Allow only certain user.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowAll: Disallow all users.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowChatParticipants: Disallow only participants of certain chats.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowContacts: Disallow only contacts.
danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowUsers: Disallow only certain users.
danog\MadelineProto\EventHandler\Query\ButtonQuery: Represents a query sent by the user by clicking on a button.
danog\MadelineProto\EventHandler\Query\ChatButtonQuery: Represents a query sent by the user by clicking on a button in a chat.
danog\MadelineProto\EventHandler\Query\ChatGameQuery: Represents a query sent by the user by clicking on a "Play game" button in a chat.
danog\MadelineProto\EventHandler\Query\GameQuery: Represents a query sent by the user by clicking on a "Play game" button.
danog\MadelineProto\EventHandler\Query\InlineButtonQuery: Represents a query sent by the user by clicking on a button in an inline message.
danog\MadelineProto\EventHandler\Query\InlineGameQuery: Represents a query sent by the user by clicking on a "Play game" button in an inline message.
danog\MadelineProto\EventHandler\SimpleFilter\Ended: Represents an ended call
danog\MadelineProto\EventHandler\SimpleFilter\FromAdmin: Allows messages from the bot admin
danog\MadelineProto\EventHandler\SimpleFilter\FromAdminOrOutgoing: Allows messages from the bot admin or outgoing messages
danog\MadelineProto\EventHandler\SimpleFilter\HasAudio: Allows only audio messages
danog\MadelineProto\EventHandler\SimpleFilter\HasDocument: Allows only documents
danog\MadelineProto\EventHandler\SimpleFilter\HasDocumentPhoto: Allows only document photos
danog\MadelineProto\EventHandler\SimpleFilter\HasGif: Allows only GIFs
danog\MadelineProto\EventHandler\SimpleFilter\HasMedia: Allows only media messages
danog\MadelineProto\EventHandler\SimpleFilter\HasMultiplePoll: Allows only messages that contain a multiple poll
danog\MadelineProto\EventHandler\SimpleFilter\HasNoMedia: Allows only messages with no media
danog\MadelineProto\EventHandler\SimpleFilter\HasPhoto: Allows only photos
danog\MadelineProto\EventHandler\SimpleFilter\HasPoll: Allows only messages that contain a poll
danog\MadelineProto\EventHandler\SimpleFilter\HasQuizPoll: Allows only messages that contain a quiz poll
danog\MadelineProto\EventHandler\SimpleFilter\HasRoundVideo: Allows only round videos
danog\MadelineProto\EventHandler\SimpleFilter\HasSinglePoll: Allows only messages that contain a single poll
danog\MadelineProto\EventHandler\SimpleFilter\HasSticker: Allows only stickers
danog\MadelineProto\EventHandler\SimpleFilter\HasTopic: Allow only messages coming from groups that has topics (Supergroups only).
danog\MadelineProto\EventHandler\SimpleFilter\HasVideo: Allows only videos
danog\MadelineProto\EventHandler\SimpleFilter\HasVoice: Allows only voice messages
danog\MadelineProto\EventHandler\SimpleFilter\Incoming: Represents an incoming message
danog\MadelineProto\EventHandler\SimpleFilter\IsEdited: Allows messages that were edited.
danog\MadelineProto\EventHandler\SimpleFilter\IsForwarded: Allows only forwarded messages
danog\MadelineProto\EventHandler\SimpleFilter\IsNotEdited: Allows messages that weren't edited.
danog\MadelineProto\EventHandler\SimpleFilter\IsReply: Allows only messages that reply to other messages
danog\MadelineProto\EventHandler\SimpleFilter\IsReplyToSelf: Allows only messages that reply to one of our messages
danog\MadelineProto\EventHandler\SimpleFilter\Outgoing: Represents an outgoing message
danog\MadelineProto\EventHandler\SimpleFilter\Running: Allow only currently running calls
danog\MadelineProto\EventHandler\Story\Story: Represents a Telegram story.
danog\MadelineProto\EventHandler\Story\StoryDeleted: Represents a deleted story.
danog\MadelineProto\EventHandler\Story\StoryReaction: Represents a reaction to a story.
danog\MadelineProto\EventHandler\Topic\IconColor: Specifies the color of the fallback topic icon (RGB) if no custom emoji icon is specified.
danog\MadelineProto\EventHandler\Typing: A user is typing.
danog\MadelineProto\EventHandler\Typing\ChatUserTyping: The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
danog\MadelineProto\EventHandler\Typing\SecretUserTyping: The user is preparing a message in a secret chat; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
danog\MadelineProto\EventHandler\Typing\SupergroupUserTyping: A user is typing in a [supergroup](https://core.telegram.org/api/channel).
danog\MadelineProto\EventHandler\Typing\UserTyping: The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
danog\MadelineProto\EventHandler\Update: Represents a generic update.
danog\MadelineProto\EventHandler\User\Blocked: A peer was blocked.
danog\MadelineProto\EventHandler\User\BotStopped: A bot was stopped or re-started.
danog\MadelineProto\EventHandler\User\Phone: A user’s phone number was changed.
danog\MadelineProto\EventHandler\User\Status: Contains a status update.
danog\MadelineProto\EventHandler\User\Status\Emoji: The [emoji status](https://core.telegram.org/api/emoji-status) of a certain user has changed or was removed.
danog\MadelineProto\EventHandler\User\Status\EmptyStatus: User status has not been set yet.
danog\MadelineProto\EventHandler\User\Status\LastMonth: Online status: last seen last month.
danog\MadelineProto\EventHandler\User\Status\LastWeek: Online status: last seen last week.
danog\MadelineProto\EventHandler\User\Status\Offline: The user’s offline status.
danog\MadelineProto\EventHandler\User\Status\Online: Online status of the user.
danog\MadelineProto\EventHandler\User\Status\Recently: Online status: last seen recently.
danog\MadelineProto\EventHandler\User\Username: Changes were made to the user’s first name, last name or username.
danog\MadelineProto\EventHandler\User\UsernameInfo: Represents an username.
danog\MadelineProto\EventHandler\Wallpaper: Represents a [wallpaper](https://core.telegram.org/api/wallpapers).
danog\MadelineProto\EventHandler\Wallpaper\WallpaperSettings: Info on how to generate a wallpaper, according to [these instructions »](https://core.telegram.org/api/wallpapers).
danog\MadelineProto\Exception: Basic exception.
danog\MadelineProto\FileCallback: File callback interface.
danog\MadelineProto\FileCallbackInterface: File callback interface.
danog\MadelineProto\LocalFile: Indicates a local file to upload.
danog\MadelineProto\Logger: Logger class.
danog\MadelineProto\MyTelegramOrgWrapper: Wrapper for my.telegram.org.
danog\MadelineProto\Ogg: Async OGG stream reader and writer.
danog\MadelineProto\OggWriter: Async OGG stream writer.
danog\MadelineProto\PTSException: Internal error indicating a problem with Telegram's servers.
danog\MadelineProto\ParseMode: Indicates a parsing mode for text.
danog\MadelineProto\PeerNotInDbException: Indicates that a specified peer (user, chat, channel) was not found in the internal MadelineProto peer database.
danog\MadelineProto\PluginEventHandler: Plugin event handler class.
danog\MadelineProto\PsrLogger: PSR-3 wrapper for MadelineProto's Logger.
danog\MadelineProto\RPCErrorException: Indicates an error returned by Telegram's API.
danog\MadelineProto\RPCError\BotGamesDisabledError: Games can't be sent to channels.
danog\MadelineProto\RPCError\BotPaymentsDisabledError: Please enable bot payments in botfather before calling this method.
danog\MadelineProto\RPCError\BroadcastPublicVotersForbiddenError: You can't forward polls with public voters.
danog\MadelineProto\RPCError\ButtonUserPrivacyRestrictedError: The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile) button do not allow creating such a button.
danog\MadelineProto\RPCError\CallAlreadyAcceptedError: The call was already accepted.
danog\MadelineProto\RPCError\CallAlreadyDeclinedError: The call was already declined.
danog\MadelineProto\RPCError\ChannelInvalidError: The provided channel is invalid.
danog\MadelineProto\RPCError\ChannelPrivateError: You haven't joined this channel/supergroup.
danog\MadelineProto\RPCError\ChatAdminRequiredError: You must be an admin in this chat to do this.
danog\MadelineProto\RPCError\ChatForbiddenError: This chat is not available to the current user.
danog\MadelineProto\RPCError\ChatForwardsRestrictedError: You can't forward messages from a protected chat.
danog\MadelineProto\RPCError\ChatGuestSendForbiddenError: You join the discussion group before commenting, see [here »](https://core.telegram.org/api/discussion#requiring-users-to-join-the-group) for more info.
danog\MadelineProto\RPCError\ChatRestrictedError: You can't send messages in this chat, you were restricted.
danog\MadelineProto\RPCError\ChatSendAudiosForbiddenError: You can't send audio messages in this chat.
danog\MadelineProto\RPCError\ChatSendDocsForbiddenError: You can't send documents in this chat.
danog\MadelineProto\RPCError\ChatSendGifsForbiddenError: You can't send gifs in this chat.
danog\MadelineProto\RPCError\ChatSendMediaForbiddenError: You can't send media in this chat.
danog\MadelineProto\RPCError\ChatSendPhotosForbiddenError: You can't send photos in this chat.
danog\MadelineProto\RPCError\ChatSendPlainForbiddenError: You can't send non-media (text) messages in this chat.
danog\MadelineProto\RPCError\ChatSendPollForbiddenError: You can't send polls in this chat.
danog\MadelineProto\RPCError\ChatSendRoundvideosForbiddenError: You can't send round videos to this chat.
danog\MadelineProto\RPCError\ChatSendStickersForbiddenError: You can't send stickers in this chat.
danog\MadelineProto\RPCError\ChatSendVideosForbiddenError: You can't send videos in this chat.
danog\MadelineProto\RPCError\ChatSendVoicesForbiddenError: You can't send voice recordings in this chat.
danog\MadelineProto\RPCError\ChatWriteForbiddenError: You can't write in this chat.
danog\MadelineProto\RPCError\DcIdInvalidError: The provided DC ID is invalid.
danog\MadelineProto\RPCError\EncryptionAlreadyAcceptedError: Secret chat already accepted.
danog\MadelineProto\RPCError\EncryptionAlreadyDeclinedError: The secret chat was already declined.
danog\MadelineProto\RPCError\EncryptionDeclinedError: The secret chat was declined.
danog\MadelineProto\RPCError\FileReferenceExpiredError: File reference expired, it must be refetched as described in [the documentation](https://core.telegram.org/api/file_reference).
danog\MadelineProto\RPCError\FileTokenInvalidError: The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.
danog\MadelineProto\RPCError\FloodPremiumWaitError: Represents a FLOOD_PREMIUM_WAIT_ RPC error returned by telegram.
danog\MadelineProto\RPCError\FloodWaitError: Represents a FLOOD_WAIT_ RPC error returned by telegram.
danog\MadelineProto\RPCError\FromMessageBotDisabledError: Bots can't use fromMessage min constructors.
danog\MadelineProto\RPCError\ImageProcessFailedError: Failure while processing image.
danog\MadelineProto\RPCError\InputUserDeactivatedError: The specified user was deleted.
danog\MadelineProto\RPCError\MsgIdInvalidError: Invalid message ID provided.
danog\MadelineProto\RPCError\PasswordHashInvalidError: The provided password hash is invalid.
danog\MadelineProto\RPCError\PaymentUnsupportedError: A detailed description of the error will be received separately as described [here »](https://core.telegram.org/api/errors#406-not-acceptable).
danog\MadelineProto\RPCError\PeerIdInvalidError: The provided peer id is invalid.
danog\MadelineProto\RPCError\PinnedDialogsTooMuchError: Too many pinned dialogs.
danog\MadelineProto\RPCError\PollOptionDuplicateError: Duplicate poll options provided.
danog\MadelineProto\RPCError\PremiumAccountRequiredError: A premium account is required to execute this action.
danog\MadelineProto\RPCError\PrivacyPremiumRequiredError: You need a [Telegram Premium subscription](https://core.telegram.org/api/premium) to send a message to this user.
danog\MadelineProto\RPCError\QuickRepliesTooMuchError: A maximum of [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config#quick-replies-limit) shortcuts may be created, the limit was reached.
danog\MadelineProto\RPCError\QuizCorrectAnswersTooMuchError: You specified too many correct answers in a quiz, quizzes can only have one right answer!
danog\MadelineProto\RPCError\RateLimitError: Represents a rate limiting RPC error returned by telegram.
danog\MadelineProto\RPCError\ReplyMessagesTooMuchError: Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached.
danog\MadelineProto\RPCError\RequestTokenInvalidError: The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.
danog\MadelineProto\RPCError\ScheduleBotNotAllowedError: Bots cannot schedule messages.
danog\MadelineProto\RPCError\ScheduleDateTooLateError: You can't schedule a message this far in the future.
danog\MadelineProto\RPCError\ScheduleStatusPrivateError: Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.
danog\MadelineProto\RPCError\ScheduleTooMuchError: There are too many scheduled messages.
danog\MadelineProto\RPCError\SessionPasswordNeededError: 2FA is enabled, use a password to login.
danog\MadelineProto\RPCError\TimeoutError: Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be a {@see TimeoutException}).
danog\MadelineProto\RPCError\TopicClosedError: This topic was closed, you can't send messages to it anymore.
danog\MadelineProto\RPCError\TopicDeletedError: The specified topic was deleted.
danog\MadelineProto\RPCError\UserBannedInChannelError: You're banned from sending messages in supergroups/channels.
danog\MadelineProto\RPCError\UserIsBlockedError: You were blocked by this user.
danog\MadelineProto\RPCError\UserIsBotError: Bots can't send messages to other bots.
danog\MadelineProto\RPCError\UsernameInvalidError: The provided username is not valid.
danog\MadelineProto\RPCError\UsernameNotOccupiedError: The provided username is not occupied.
danog\MadelineProto\RPCError\VoiceMessagesForbiddenError: This user's privacy settings forbid you from sending voice messages.
danog\MadelineProto\RPCError\WebpageCurlFailedError: Failure while fetching the webpage with cURL.
danog\MadelineProto\RPCError\WebpageNotFoundError: A preview for the specified webpage `url` could not be generated.
danog\MadelineProto\RPCError\YouBlockedUserError: You blocked this user.
danog\MadelineProto\RemoteUrl: Indicates a remote URL to upload.
danog\MadelineProto\ResponseException: Indicates an error thrown when an unexpected response is received from telegram's servers.
danog\MadelineProto\SecretChats\SecretChat: Represents a secret chat.
danog\MadelineProto\SecretPeerNotInDbException: Indicates that the specified secret chat wasn't found.
danog\MadelineProto\SecurityException: Indicates a security error.
danog\MadelineProto\Settings: Settings class used for configuring MadelineProto.
danog\MadelineProto\Settings\AppInfo: App information.
danog\MadelineProto\Settings\Auth: Cryptography settings.
danog\MadelineProto\Settings\Connection: Connection settings.
danog\MadelineProto\Settings\DatabaseAbstract: Base class for storage backends.
danog\MadelineProto\Settings\Database\DriverDatabaseAbstract: Base class for database backends.
danog\MadelineProto\Settings\Database\Memory: Memory backend settings.
danog\MadelineProto\Settings\Database\Mysql: MySQL backend settings.
danog\MadelineProto\Settings\Database\Postgres: Postgres backend settings.
danog\MadelineProto\Settings\Database\Redis: Redis backend settings.
danog\MadelineProto\Settings\Database\SerializerType:
danog\MadelineProto\Settings\Database\SqlAbstract: Generic db backend settings.
danog\MadelineProto\Settings\Files: File management settings.
danog\MadelineProto\Settings\Ipc: IPC server settings.
danog\MadelineProto\Settings\Logger: Logger settings.
danog\MadelineProto\Settings\Metrics: Metric settings.
danog\MadelineProto\Settings\Peer: Peer database settings.
danog\MadelineProto\Settings\Pwr: PWRTelegram settings.
danog\MadelineProto\Settings\RPC: RPC settings.
danog\MadelineProto\Settings\SecretChats: Secret chat settings.
danog\MadelineProto\Settings\Serialization: Serialization settings.
danog\MadelineProto\Settings\TLSchema: TL schema settings.
danog\MadelineProto\Settings\Templates: Web and CLI template settings for login.
danog\MadelineProto\Settings\VoIP: VoIP settings.
danog\MadelineProto\Shutdown: Class that controls script shutdown.
danog\MadelineProto\SimpleEventHandler: Simple event handler class: by extending this class, you can use filters, crons and the simplified event handler API.
danog\MadelineProto\StrTools: Some tools.
danog\MadelineProto\TL\Conversion\Exception: TL conversion exception.
danog\MadelineProto\TL\Conversion\Extension: Manages generation of extensions for files.
danog\MadelineProto\TL\Exception: TL deserialization exception.
danog\MadelineProto\TL\TLInterface:
danog\MadelineProto\TL\Types\Button: Clickable button.
danog\MadelineProto\TL\Types\Bytes: Bytes wrapper.
danog\MadelineProto\TL\Types\LoginQrCode: Represents a login QR code.
danog\MadelineProto\TextEntities: Class that converts HTML or markdown to a message + set of entities.
danog\MadelineProto\Tools: Some tools.
danog\MadelineProto\TransportError: Indicates a transport error returned by Telegram's API.
danog\MadelineProto\VoIP: This update represents a VoIP Telegram call.
danog\MadelineProto\VoIP\CallState:
danog\MadelineProto\VoIP\DiscardReason: Why was the call discarded?
danog\MadelineProto\VoIP\VoIPState: VoIP protcol state.
Telegram RPC API
Methods
account.acceptAuthorization
account.cancelPasswordEmail
account.changeAuthorizationSettings
account.changePhone
account.checkUsername
account.clearRecentEmojiStatuses
account.confirmPasswordEmail
account.confirmPhone
account.createBusinessChatLink
account.createTheme
account.declinePasswordReset
account.deleteAccount
account.deleteAutoSaveExceptions
account.deleteBusinessChatLink
account.deleteSecureValue
account.disablePeerConnectedBot
account.editBusinessChatLink
account.finishTakeoutSession
account.getAccountTTL
account.getAllSecureValues
account.getAuthorizationForm
account.getAuthorizations
account.getAutoDownloadSettings
account.getAutoSaveSettings
account.getBotBusinessConnection
account.getBusinessChatLinks
account.getChannelDefaultEmojiStatuses
account.getChannelRestrictedStatusEmojis
account.getChatThemes
account.getConnectedBots
account.getContactSignUpNotification
account.getContentSettings
account.getDefaultBackgroundEmojis
account.getDefaultEmojiStatuses
account.getDefaultGroupPhotoEmojis
account.getDefaultProfilePhotoEmojis
account.getGlobalPrivacySettings
account.getMultiWallPapers
account.getNotifyExceptions
account.getNotifySettings
account.getPassword
account.getPasswordSettings
account.getPrivacy
account.getReactionsNotifySettings
account.getRecentEmojiStatuses
account.getSavedRingtones
account.getSecureValue
account.getTheme
account.getThemes
account.getTmpPassword
account.getWallPaper
account.getWallPapers
account.getWebAuthorizations
account.initTakeoutSession
account.installTheme
account.installWallPaper
account.invalidateSignInCodes
account.registerDevice
account.reorderUsernames
account.reportPeer
account.reportProfilePhoto
account.resendPasswordEmail
account.resetAuthorization
account.resetNotifySettings
account.resetPassword
account.resetWallPapers
account.resetWebAuthorization
account.resetWebAuthorizations
account.resolveBusinessChatLink
account.saveAutoDownloadSettings
account.saveAutoSaveSettings
account.saveRingtone
account.saveSecureValue
account.saveTheme
account.saveWallPaper
account.sendChangePhoneCode
account.sendConfirmPhoneCode
account.sendVerifyEmailCode
account.sendVerifyPhoneCode
account.setAccountTTL
account.setAuthorizationTTL
account.setContactSignUpNotification
account.setContentSettings
account.setGlobalPrivacySettings
account.setPrivacy
account.setReactionsNotifySettings
account.toggleConnectedBotPaused
account.toggleSponsoredMessages
account.toggleUsername
account.unregisterDevice
account.updateBirthday
account.updateBusinessAwayMessage
account.updateBusinessGreetingMessage
account.updateBusinessIntro
account.updateBusinessLocation
account.updateBusinessWorkHours
account.updateColor
account.updateConnectedBot
account.updateDeviceLocked
account.updateEmojiStatus
account.updateNotifySettings
account.updatePasswordSettings
account.updatePersonalChannel
account.updateProfile
account.updateStatus
account.updateTheme
account.updateUsername
account.uploadRingtone
account.uploadTheme
account.uploadWallPaper
account.verifyEmail
account.verifyPhone
auth.acceptLoginToken
auth.bindTempAuthKey
auth.cancelCode
auth.checkPassword
auth.checkRecoveryPassword
auth.dropTempAuthKeys
auth.exportAuthorization
auth.exportLoginToken
auth.importAuthorization
auth.importBotAuthorization
auth.importLoginToken
auth.importWebTokenAuthorization
auth.logOut
auth.recoverPassword
auth.reportMissingCode
auth.requestFirebaseSms
auth.requestPasswordRecovery
auth.resendCode
auth.resetAuthorizations
auth.resetLoginEmail
auth.sendCode
auth.signIn
auth.signUp
botLogin
bots.addPreviewMedia
bots.allowSendMessage
bots.answerWebhookJSONQuery
bots.canSendMessage
bots.checkDownloadFileParams
bots.deletePreviewMedia
bots.editPreviewMedia
bots.getAdminedBots
bots.getBotCommands
bots.getBotInfo
bots.getBotMenuButton
bots.getPopularAppBots
bots.getPreviewInfo
bots.getPreviewMedias
bots.invokeWebViewCustomMethod
bots.reorderPreviewMedias
bots.reorderUsernames
bots.resetBotCommands
bots.sendCustomRequest
bots.setBotBroadcastDefaultAdminRights
bots.setBotCommands
bots.setBotGroupDefaultAdminRights
bots.setBotInfo
bots.setBotMenuButton
bots.toggleUserEmojiStatusPermission
bots.toggleUsername
bots.updateStarRefProgram
bots.updateUserEmojiStatus
channels.checkUsername
channels.convertToGigagroup
channels.createChannel
channels.createForumTopic
channels.deactivateAllUsernames
channels.deleteChannel
channels.deleteHistory
channels.deleteMessages
channels.deleteParticipantHistory
channels.deleteTopicHistory
channels.editAdmin
channels.editBanned
channels.editCreator
channels.editForumTopic
channels.editLocation
channels.editPhoto
channels.editTitle
channels.exportMessageLink
channels.getAdminLog
channels.getAdminedPublicChannels
channels.getChannelRecommendations
channels.getChannels
channels.getForumTopics
channels.getForumTopicsByID
channels.getFullChannel
channels.getGroupsForDiscussion
channels.getInactiveChannels
channels.getLeftChannels
channels.getMessages
channels.getParticipant
channels.getParticipants
channels.getSendAs
channels.inviteToChannel
channels.joinChannel
channels.leaveChannel
channels.readHistory
channels.readMessageContents
channels.reorderPinnedForumTopics
channels.reorderUsernames
channels.reportAntiSpamFalsePositive
channels.reportSpam
channels.restrictSponsoredMessages
channels.searchPosts
channels.setBoostsToUnblockRestrictions
channels.setDiscussionGroup
channels.setEmojiStickers
channels.setStickers
channels.toggleAntiSpam
channels.toggleForum
channels.toggleJoinRequest
channels.toggleJoinToSend
channels.toggleParticipantsHidden
channels.togglePreHistoryHidden
channels.toggleSignatures
channels.toggleSlowMode
channels.toggleUsername
channels.toggleViewForumAsMessages
channels.updateColor
channels.updateEmojiStatus
channels.updatePinnedForumTopic
channels.updateUsername
chatlists.checkChatlistInvite
chatlists.deleteExportedInvite
chatlists.editExportedInvite
chatlists.exportChatlistInvite
chatlists.getChatlistUpdates
chatlists.getExportedInvites
chatlists.getLeaveChatlistSuggestions
chatlists.hideChatlistUpdates
chatlists.joinChatlistInvite
chatlists.joinChatlistUpdates
chatlists.leaveChatlist
complete2falogin
completePhoneLogin
completeSignup
contacts.acceptContact
contacts.addContact
contacts.block
contacts.blockFromReplies
contacts.deleteByPhones
contacts.deleteContacts
contacts.editCloseFriends
contacts.exportContactToken
contacts.getBirthdays
contacts.getBlocked
contacts.getContactIDs
contacts.getContacts
contacts.getLocated
contacts.getSaved
contacts.getStatuses
contacts.getTopPeers
contacts.importContactToken
contacts.importContacts
contacts.resetSaved
contacts.resetTopPeerRating
contacts.resolvePhone
contacts.resolveUsername
contacts.search
contacts.setBlocked
contacts.toggleTopPeers
contacts.unblock
folders.editPeerFolders
fragment.getCollectibleInfo
getFullDialogs
getFullInfo
getId
getInfo
getPwrChat
getSelf
help.acceptTermsOfService
help.dismissSuggestion
help.editUserInfo
help.getAppConfig
help.getAppUpdate
help.getCdnConfig
help.getConfig
help.getCountriesList
help.getDeepLinkInfo
help.getInviteText
help.getNearestDc
help.getPassportConfig
help.getPeerColors
help.getPeerProfileColors
help.getPremiumPromo
help.getPromoData
help.getRecentMeUrls
help.getSupport
help.getSupportName
help.getTermsOfServiceUpdate
help.getTimezonesList
help.getUserInfo
help.hidePromoData
help.saveAppLog
help.setBotUpdatesStatus
initConnection
invokeAfterMsg
invokeAfterMsgs
invokeWithApnsSecret
invokeWithBusinessConnection
invokeWithGooglePlayIntegrity
invokeWithLayer
invokeWithMessagesRange
invokeWithTakeout
invokeWithoutUpdates
langpack.getDifference
langpack.getLangPack
langpack.getLanguage
langpack.getLanguages
langpack.getStrings
messages.acceptEncryption
messages.acceptUrlAuth
messages.addChatUser
messages.checkChatInvite
messages.checkHistoryImport
messages.checkHistoryImportPeer
messages.checkQuickReplyShortcut
messages.clearAllDrafts
messages.clearRecentReactions
messages.clearRecentStickers
messages.clickSponsoredMessage
messages.createChat
messages.deleteChat
messages.deleteChatUser
messages.deleteExportedChatInvite
messages.deleteFactCheck
messages.deleteHistory
messages.deleteMessages
messages.deletePhoneCallHistory
messages.deleteQuickReplyMessages
messages.deleteQuickReplyShortcut
messages.deleteRevokedExportedChatInvites
messages.deleteSavedHistory
messages.deleteScheduledMessages
messages.discardEncryption
messages.editChatAbout
messages.editChatAdmin
messages.editChatDefaultBannedRights
messages.editChatPhoto
messages.editChatTitle
messages.editExportedChatInvite
messages.editFactCheck
messages.editInlineBotMessage
messages.editMessage
messages.editQuickReplyShortcut
messages.exportChatInvite
messages.faveSticker
messages.forwardMessages
messages.getAdminsWithInvites
messages.getAllDrafts
messages.getAllStickers
messages.getArchivedStickers
messages.getAttachMenuBot
messages.getAttachMenuBots
messages.getAttachedStickers
messages.getAvailableEffects
messages.getAvailableReactions
messages.getBotApp
messages.getBotCallbackAnswer
messages.getChatInviteImporters
messages.getChats
messages.getCommonChats
messages.getCustomEmojiDocuments
messages.getDefaultHistoryTTL
messages.getDefaultTagReactions
messages.getDhConfig
messages.getDialogFilters
messages.getDialogUnreadMarks
messages.getDialogs
messages.getDiscussionMessage
messages.getDocumentByHash
messages.getEmojiGroups
messages.getEmojiKeywords
messages.getEmojiKeywordsDifference
messages.getEmojiKeywordsLanguages
messages.getEmojiProfilePhotoGroups
messages.getEmojiStatusGroups
messages.getEmojiStickerGroups
messages.getEmojiStickers
messages.getEmojiURL
messages.getExportedChatInvite
messages.getExportedChatInvites
messages.getExtendedMedia
messages.getFactCheck
messages.getFavedStickers
messages.getFeaturedEmojiStickers
messages.getFeaturedStickers
messages.getFullChat
messages.getGameHighScores
messages.getHistory
messages.getInlineBotResults
messages.getInlineGameHighScores
messages.getMaskStickers
messages.getMessageEditData
messages.getMessageReactionsList
messages.getMessageReadParticipants
messages.getMessages
messages.getMessagesReactions
messages.getMessagesViews
messages.getMyStickers
messages.getOldFeaturedStickers
messages.getOnlines
messages.getOutboxReadDate
messages.getPaidReactionPrivacy
messages.getPeerDialogs
messages.getPeerSettings
messages.getPinnedDialogs
messages.getPinnedSavedDialogs
messages.getPollResults
messages.getPollVotes
messages.getPreparedInlineMessage
messages.getQuickReplies
messages.getQuickReplyMessages
messages.getRecentLocations
messages.getRecentReactions
messages.getRecentStickers
messages.getReplies
messages.getSavedDialogs
messages.getSavedGifs
messages.getSavedHistory
messages.getSavedReactionTags
messages.getScheduledHistory
messages.getScheduledMessages
messages.getSearchCounters
messages.getSearchResultsCalendar
messages.getSearchResultsPositions
messages.getSplitRanges
messages.getSponsoredMessages
messages.getStickerSet
messages.getStickers
messages.getSuggestedDialogFilters
messages.getTopReactions
messages.getUnreadMentions
messages.getUnreadReactions
messages.getWebPage
messages.getWebPagePreview
messages.hideAllChatJoinRequests
messages.hideChatJoinRequest
messages.hidePeerSettingsBar
messages.importChatInvite
messages.initHistoryImport
messages.installStickerSet
messages.markDialogUnread
messages.migrateChat
messages.prolongWebView
messages.rateTranscribedAudio
messages.readDiscussion
messages.readEncryptedHistory
messages.readFeaturedStickers
messages.readHistory
messages.readMentions
messages.readMessageContents
messages.readReactions
messages.receivedMessages
messages.receivedQueue
messages.reorderPinnedDialogs
messages.reorderPinnedSavedDialogs
messages.reorderQuickReplies
messages.reorderStickerSets
messages.report
messages.reportEncryptedSpam
messages.reportReaction
messages.reportSpam
messages.reportSponsoredMessage
messages.requestAppWebView
messages.requestEncryption
messages.requestMainWebView
messages.requestSimpleWebView
messages.requestUrlAuth
messages.requestWebView
messages.saveDefaultSendAs
messages.saveDraft
messages.saveGif
messages.savePreparedInlineMessage
messages.saveRecentSticker
messages.search
messages.searchCustomEmoji
messages.searchEmojiStickerSets
messages.searchGlobal
messages.searchSentMedia
messages.searchStickerSets
messages.searchStickers
messages.sendBotRequestedPeer
messages.sendEncrypted
messages.sendEncryptedFile
messages.sendEncryptedService
messages.sendInlineBotResult
messages.sendMedia
messages.sendMessage
messages.sendMultiMedia
messages.sendPaidReaction
messages.sendQuickReplyMessages
messages.sendReaction
messages.sendScheduledMessages
messages.sendScreenshotNotification
messages.sendVote
messages.sendWebViewData
messages.sendWebViewResultMessage
messages.setBotCallbackAnswer
messages.setBotPrecheckoutResults
messages.setBotShippingResults
messages.setChatAvailableReactions
messages.setChatTheme
messages.setChatWallPaper
messages.setDefaultHistoryTTL
messages.setDefaultReaction
messages.setEncryptedTyping
messages.setGameScore
messages.setHistoryTTL
messages.setInlineBotResults
messages.setInlineGameScore
messages.setTyping
messages.startBot
messages.startHistoryImport
messages.toggleBotInAttachMenu
messages.toggleDialogFilterTags
messages.toggleDialogPin
messages.toggleNoForwards
messages.togglePaidReactionPrivacy
messages.togglePeerTranslations
messages.toggleSavedDialogPin
messages.toggleStickerSets
messages.transcribeAudio
messages.translateText
messages.uninstallStickerSet
messages.unpinAllMessages
messages.updateDialogFilter
messages.updateDialogFiltersOrder
messages.updatePinnedMessage
messages.updateSavedReactionTag
messages.uploadEncryptedFile
messages.uploadImportedMedia
messages.uploadMedia
messages.viewSponsoredMessage
payments.applyGiftCode
payments.assignAppStoreTransaction
payments.assignPlayMarketTransaction
payments.botCancelStarsSubscription
payments.canPurchasePremium
payments.changeStarsSubscription
payments.checkGiftCode
payments.clearSavedInfo
payments.connectStarRefBot
payments.convertStarGift
payments.editConnectedStarRefBot
payments.exportInvoice
payments.fulfillStarsSubscription
payments.getBankCardData
payments.getConnectedStarRefBot
payments.getConnectedStarRefBots
payments.getGiveawayInfo
payments.getPaymentForm
payments.getPaymentReceipt
payments.getPremiumGiftCodeOptions
payments.getSavedInfo
payments.getStarGifts
payments.getStarsGiftOptions
payments.getStarsGiveawayOptions
payments.getStarsRevenueAdsAccountUrl
payments.getStarsRevenueStats
payments.getStarsRevenueWithdrawalUrl
payments.getStarsStatus
payments.getStarsSubscriptions
payments.getStarsTopupOptions
payments.getStarsTransactions
payments.getStarsTransactionsByID
payments.getSuggestedStarRefBots
payments.getUserStarGifts
payments.launchPrepaidGiveaway
payments.refundStarsCharge
payments.saveStarGift
payments.sendPaymentForm
payments.sendStarsForm
payments.validateRequestedInfo
phone.acceptCall
phone.checkGroupCall
phone.confirmCall
phone.createGroupCall
phone.discardCall
phone.discardGroupCall
phone.editGroupCallParticipant
phone.editGroupCallTitle
phone.exportGroupCallInvite
phone.getCallConfig
phone.getGroupCall
phone.getGroupCallJoinAs
phone.getGroupCallStreamChannels
phone.getGroupCallStreamRtmpUrl
phone.getGroupParticipants
phone.inviteToGroupCall
phone.joinGroupCall
phone.joinGroupCallPresentation
phone.leaveGroupCall
phone.leaveGroupCallPresentation
phone.receivedCall
phone.requestCall
phone.saveCallDebug
phone.saveCallLog
phone.saveDefaultGroupCallJoinAs
phone.sendSignalingData
phone.setCallRating
phone.startScheduledGroupCall
phone.toggleGroupCallRecord
phone.toggleGroupCallSettings
phone.toggleGroupCallStartSubscription
phoneLogin
photos.deletePhotos
photos.getUserPhotos
photos.updateProfilePhoto
photos.uploadContactProfilePhoto
photos.uploadProfilePhoto
premium.applyBoost
premium.getBoostsList
premium.getBoostsStatus
premium.getMyBoosts
premium.getUserBoosts
requestSecretChat
smsjobs.finishJob
smsjobs.getSmsJob
smsjobs.getStatus
smsjobs.isEligibleToJoin
smsjobs.join
smsjobs.leave
smsjobs.updateSettings
stats.getBroadcastRevenueStats
stats.getBroadcastRevenueTransactions
stats.getBroadcastRevenueWithdrawalUrl
stats.getBroadcastStats
stats.getMegagroupStats
stats.getMessagePublicForwards
stats.getMessageStats
stats.getStoryPublicForwards
stats.getStoryStats
stats.loadAsyncGraph
stickers.addStickerToSet
stickers.changeSticker
stickers.changeStickerPosition
stickers.checkShortName
stickers.createStickerSet
stickers.deleteStickerSet
stickers.removeStickerFromSet
stickers.renameStickerSet
stickers.replaceSticker
stickers.setStickerSetThumb
stickers.suggestShortName
stories.activateStealthMode
stories.canSendStory
stories.deleteStories
stories.editStory
stories.exportStoryLink
stories.getAllReadPeerStories
stories.getAllStories
stories.getChatsToSend
stories.getPeerMaxIDs
stories.getPeerStories
stories.getPinnedStories
stories.getStoriesArchive
stories.getStoriesByID
stories.getStoriesViews
stories.getStoryReactionsList
stories.getStoryViewsList
stories.incrementStoryViews
stories.readStories
stories.report
stories.searchPosts
stories.sendReaction
stories.sendStory
stories.toggleAllStoriesHidden
stories.togglePeerStoriesHidden
stories.togglePinned
stories.togglePinnedToTop
update2fa
updates.getChannelDifference
updates.getDifference
updates.getState
upload.getCdnFile
upload.getCdnFileHashes
upload.getFile
upload.getFileHashes
upload.getWebFile
upload.reuploadCdnFile
upload.saveBigFilePart
upload.saveFilePart
users.getFullUser
users.getIsPremiumRequiredToContact
users.getUsers
users.setSecureValueErrors
Type: Vector t
Back to types index
Possible values (constructors):
vector
Methods that return an object of this type (methods):